home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / tutorials / geometer / Theorems / art / classicpage.T next >
Encoding:
Text File  |  1994-08-02  |  2.4 KB  |  63 lines

  1. .geometry "version 0.1";
  2. v1 = .free(-0.781671, -0.327493, .invisible);
  3. v2 = .free(0.878706, -0.327493, .invisible);
  4. v3 = .free(0.671196, 0.703804, .red, "Page Area");
  5. l1 = .l.vv(v1, v2, .invisible, .longline);
  6. l2 = .l.vlperp(v1, l1, .invisible, .ray12);
  7. l3 = .l.vlperp(v3, l2, .invisible, .ray12);
  8. l5 = .l.vlperp(v3, l1, .invisible, .longline);
  9. v6 = .v.ll(l3, l2, .invisible, .plus);
  10. v7 = .v.ll(l1, l5, .invisible, .plus);
  11. v8 = .v.ll(l1, l3, .plus);
  12. v9 = .v.ll(l1, l5, .invisible, .plus);
  13. v11 = .v.ll(l1, l1, .plus);
  14. v12 = .v.ll(l1, l1, .plus);
  15. v13 = .v.ll(l3, l2, .invisible, .plus);
  16. l6 = .l.vv(v7, v3);
  17. l7 = .l.vv(v3, v6);
  18. l8 = .l.vv(v6, v1);
  19. l9 = .l.vv(v1, v7);
  20. v15 = .v.vvmid(v6, v3, .invisible, .plus);
  21. v16 = .v.vvmid(v7, v1, .invisible, .plus);
  22. l10 = .l.vv(v15, v16);
  23. l11 = .l.vv(v3, v1, .invisible);
  24. l12 = .l.vv(v6, v7, .invisible);
  25. l13 = .l.vv(v15, v15, .yellow);
  26. l14 = .l.vv(v15, v7, .invisible);
  27. l15 = .l.vv(v16, v3, .invisible);
  28. l16 = .l.vv(v6, v16, .invisible);
  29. l17 = .l.vv(v15, v1, .invisible);
  30. v17 = .vonl(l6, 0.671196, -0.119563, .red, .cross, "Text Area");
  31. l18 = .l.vlperp(v17, l6, .invisible, .ray12);
  32. v18 = .v.ll(l18, l14, .invisible, .plus);
  33. v19 = .v.ll(l17, l17, .yellow, .plus);
  34. v20 = .v.ll(l18, l17, .invisible, .plus);
  35. v21 = .v.ll(l17, l18, .invisible, .plus);
  36. v22 = .v.ll(l17, l17, .yellow, .plus);
  37. l25 = .l.vlpar(v18, l5, .invisible, .longline);
  38. l26 = .l.vlpar(v20, l2, .invisible, .longline);
  39. v23 = .v.ll(l25, l11, .invisible, .plus);
  40. v24 = .v.ll(l26, l12, .invisible, .plus);
  41. l28 = .l.vv(v24, v23, .invisible, .longline);
  42. v25 = .v.ll(l28, l14, .invisible, .plus);
  43. v26 = .v.ll(l28, l17, .invisible, .plus);
  44. l29 = .l.vlpar(v25, l5, .invisible, .longline);
  45. l30 = .l.vlpar(v26, l2, .invisible, .longline);
  46. v27 = .v.ll(l30, l18, .invisible, .plus);
  47. v28 = .v.ll(l29, l18, .invisible, .plus);
  48. l31 = .l.vv(v28, v18, .red);
  49. l32 = .l.vv(v18, v23, .red);
  50. l33 = .l.vv(v23, v25, .red);
  51. l34 = .l.vv(v25, v28, .red);
  52. l35 = .l.vv(v20, v27, .red);
  53. l36 = .l.vv(v27, v26, .red);
  54. l37 = .l.vv(v26, v24, .red);
  55. l38 = .l.vv(v24, v20, .red);
  56. .text("Classic Page Construction:");
  57. .text("");
  58. .text("This example illustrates the construction of a pair of printed");
  59. .text("pages so that the type area is proportional to the page area,");
  60. .text("and the width of the three gutters (on the left, right, and");
  61. .text("between the type on the two pages) is equal.  To see the");
  62. .text("construction, turn on invisible lines.");
  63.